﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClusteringWrraper
{
    public class FacebookUser
    {
        public string Name;
        public string Uid;
        public string ImageUrl;
        public Dictionary<string, FacebookUser> MutualFriendsUidToUser;

        public FacebookUser(string name, string uid, string picUrl)
        {
            Name = name;
            Uid = uid;
            ImageUrl = picUrl;
            MutualFriendsUidToUser = new Dictionary<string, FacebookUser>();
        }

        public void AddMutualFriend(FacebookUser mFriend)
        {
            if (!MutualFriendsUidToUser.ContainsKey(mFriend.Uid))
            {
                MutualFriendsUidToUser.Add(mFriend.Uid,mFriend);
            }
        }
    }
}
